package edu.xhu.api.user;

import edu.xhu.api.user.fallback.UserCrudClientFallback;
import edu.xhu.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户的crud之api
 */
@FeignClient(value = "biliuser-service", contextId = "userCrudClient", fallback = UserCrudClientFallback.class)
public interface UserCrudClient {
    /**
     * 获取全部用户id
     *
     * @return
     */
    @GetMapping("/biliuser/getAllUserIds")
    ResponseResult<?> getAllUserIds();
}
